Optimal. Leaf size=61 \[ \frac{(b c-2 a d) \tanh ^{-1}\left (\frac{\sqrt{d}}{x \sqrt{c+\frac{d}{x^2}}}\right )}{2 d^{3/2}}-\frac{b \sqrt{c+\frac{d}{x^2}}}{2 d x} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.12548, antiderivative size = 61, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182 \[ \frac{(b c-2 a d) \tanh ^{-1}\left (\frac{\sqrt{d}}{x \sqrt{c+\frac{d}{x^2}}}\right )}{2 d^{3/2}}-\frac{b \sqrt{c+\frac{d}{x^2}}}{2 d x} \]
Antiderivative was successfully verified.
[In] Int[(a + b/x^2)/(Sqrt[c + d/x^2]*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 11.4797, size = 51, normalized size = 0.84 \[ - \frac{b \sqrt{c + \frac{d}{x^{2}}}}{2 d x} - \frac{\left (2 a d - b c\right ) \operatorname{atanh}{\left (\frac{\sqrt{d}}{x \sqrt{c + \frac{d}{x^{2}}}} \right )}}{2 d^{\frac{3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((a+b/x**2)/x**2/(c+d/x**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.131212, size = 108, normalized size = 1.77 \[ \frac{x^2 \log (x) \sqrt{c x^2+d} (2 a d-b c)+x^2 \sqrt{c x^2+d} (b c-2 a d) \log \left (\sqrt{d} \sqrt{c x^2+d}+d\right )-b \sqrt{d} \left (c x^2+d\right )}{2 d^{3/2} x^3 \sqrt{c+\frac{d}{x^2}}} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b/x^2)/(Sqrt[c + d/x^2]*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.017, size = 105, normalized size = 1.7 \[ -{\frac{1}{2\,{x}^{3}}\sqrt{c{x}^{2}+d} \left ( 2\,{d}^{2}\ln \left ( 2\,{\frac{\sqrt{d}\sqrt{c{x}^{2}+d}+d}{x}} \right ) a{x}^{2}-bc\ln \left ( 2\,{\frac{\sqrt{d}\sqrt{c{x}^{2}+d}+d}{x}} \right ){x}^{2}d+b\sqrt{c{x}^{2}+d}{d}^{{\frac{3}{2}}} \right ){\frac{1}{\sqrt{{\frac{c{x}^{2}+d}{{x}^{2}}}}}}{d}^{-{\frac{5}{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((a+b/x^2)/x^2/(c+d/x^2)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a + b/x^2)/(sqrt(c + d/x^2)*x^2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.229325, size = 1, normalized size = 0.02 \[ \left [-\frac{{\left (b c - 2 \, a d\right )} \sqrt{d} x \log \left (\frac{2 \, d x \sqrt{\frac{c x^{2} + d}{x^{2}}} -{\left (c x^{2} + 2 \, d\right )} \sqrt{d}}{x^{2}}\right ) + 2 \, b d \sqrt{\frac{c x^{2} + d}{x^{2}}}}{4 \, d^{2} x}, -\frac{{\left (b c - 2 \, a d\right )} \sqrt{-d} x \arctan \left (\frac{\sqrt{-d}}{x \sqrt{\frac{c x^{2} + d}{x^{2}}}}\right ) + b d \sqrt{\frac{c x^{2} + d}{x^{2}}}}{2 \, d^{2} x}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a + b/x^2)/(sqrt(c + d/x^2)*x^2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 6.75813, size = 66, normalized size = 1.08 \[ - \frac{a \operatorname{asinh}{\left (\frac{\sqrt{d}}{\sqrt{c} x} \right )}}{\sqrt{d}} - \frac{b \sqrt{c} \sqrt{1 + \frac{d}{c x^{2}}}}{2 d x} + \frac{b c \operatorname{asinh}{\left (\frac{\sqrt{d}}{\sqrt{c} x} \right )}}{2 d^{\frac{3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a+b/x**2)/x**2/(c+d/x**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{a + \frac{b}{x^{2}}}{\sqrt{c + \frac{d}{x^{2}}} x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a + b/x^2)/(sqrt(c + d/x^2)*x^2),x, algorithm="giac")
[Out]